/* 主页盒子 */
.container {
    margin-top: 20px;
    padding: 15px;
    position: relative;
}

#left {
    position: absolute;
    left: 0;
    top: 220px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    z-index: 1;
}

#right {
    position: absolute;
    right: 0;
    top: 220px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    z-index: 1;
}

#left:hover {
    background-color: #999;
    color: #eee;
}

#right:hover {
    background-color: #999;
    color: #eee;
}

/* 作品tab */
.worksTab {
    padding: 10px 10px;

    button {
        padding: 7px 15px;
        background-color: #fff;
        border: 1px solid #eee;
        font-size: 16px;
        border-radius: 5px;
    }

    button.activeW {
        color: #fff;
        background-color: blue;
    }
}

/* 作品内容 */
.content {
    width: 100%;
    margin-left: 10px;
    transition: left 0.3s linear;
    /* 设置滚动动画 */
    width: 100%;
    /* 确保内容宽度为100% */
}

/* 全部 */
.alls {
    display: flex;
}

.all {
    width: 230px;
    height: 320px;
    position: relative;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 2px 2px #eee;
    margin-right: 25px;
    position: relative;

    img {
        width: 230px;
        height: 210px;
        border-radius: 10px 10px 0px 0px;
    }

    b {
        font-weight: 500;
        color: blue;
    }

    .fb {
        width: 60px;
        height: 25px;
        text-align: center;
        position: absolute;
        top: 0;
        background-color: #999;
        color: #fff;
        border-radius: 10px 0 10px 0px;
    }
}

.hov {
    width: 230px;
    height: 290px;
    position: absolute;
    top: 0;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    background-color: rgba(26, 18, 18, 0.716);

    .btn {
        width: 150px;
        height: 40px;
        position: absolute;
        top: 100px;
        left: 40px;
        border-radius: 20px;
        font-size: 16px;
        color: #fff;
        background-color: rgba(53, 52, 52, 0.262);
        text-align: center;
        border: 1px #eee solid;
        flex-direction: column;
        cursor: pointer;
    }

    .btn:hover {
        background-color: blue;
        border: none;
    }

    .p1 {
        width: 230px;
        height: 110px;
        position: absolute;
        bottom: 0;
        background-color: #fff;
        display: flex;
        justify-content: space-around;
        align-items: center;
        text-align: center;
        font-size: 12px;

        p {
            width: 50px;
            height: 50px;
            background-color: #f0f8ff;
            border-radius: 10px;
            cursor: pointer;
        }

        p:hover {
            color: blue;
        }
    }
}